projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c0467
)
shortdoc: prefer seq-contains-p over seq-contains
author
Brian Leung
<leungbk@mailfence.com>
Mon, 9 Nov 2020 16:38:18 +0000
(08:38 -0800)
committer
Stefan Kangas
<stefan@marxist.se>
Mon, 9 Nov 2020 20:19:10 +0000
(21:19 +0100)
* lisp/emacs-lisp/shortdoc.el (sequence): use seq-contains-p instead
of seq-contains, which is obsolete as of 27.1. (Bug#44536)
Copyright-paperwork-exempt: yes
lisp/emacs-lisp/shortdoc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/shortdoc.el
b/lisp/emacs-lisp/shortdoc.el
index dd9cbd5d55ac5a59520ff141f35cfd2e6d43ffd8..37d6170fee5fda5075fd7b36473ce18e3188e836 100644
(file)
--- a/
lisp/emacs-lisp/shortdoc.el
+++ b/
lisp/emacs-lisp/shortdoc.el
@@
-689,8
+689,8
@@
There can be any number of :example/:result elements."
(define-short-documentation-group sequence
"Sequence Predicates"
(seq-contains-p
- :eval (seq-contains '(a b c) 'b)
- :eval (seq-contains '(a b c) 'd))
+ :eval (seq-contains
-p
'(a b c) 'b)
+ :eval (seq-contains
-p
'(a b c) 'd))
(seq-every-p
:eval (seq-every-p #'numberp '(1 2 3)))
(seq-empty-p